package com.project.class4_11.homework;

public class Man implements IService{
    public void run(){
//        throw new ArrayIndexOutOfBoundsException();
        int[] array = new int[2];
        array[2] = 9;
    }

    public void work(){
        throw new NullPointerException();
    }

    public void sleep(){
        System.out.println("执行sleep");
    }
}
